package com.housediyadmin.events.goodsEvents
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/17
	 */	
	public class GetGoodsByNewsIDEvent extends Event
	{
		public static const GET_GOODS_BY_NEWSID:String = "getGoodsByNewsID";
		public static const UPDATE_GOODS_NEWS:String = "updateGoodsNews";
		
		public var newsId:int;
		public var goodsNewsArray:ArrayCollection;
		
		public function GetGoodsByNewsIDEvent(type:String, newsId:int, goodsNewsArray:ArrayCollection = null)
		{
			super(type);
			this.newsId = newsId;
			this.goodsNewsArray = goodsNewsArray;
		}
		
		override public function clone():Event
		{
			return new GetGoodsByNewsIDEvent(type, newsId, goodsNewsArray);
		}
	}
}